<?php

require_once(WSB_MODULES_PATH . 'sherpa/models/CategoryGateway.php');
require_once(WSB_MODULES_PATH . 'sherpa/models/ProductGateway.php');

class Sherpa_FilterBoxController extends WSB_Xtension_Extension
{

	/**
	 * @return string
	 */
	public function renderForBackend()
	{
		return get_class($this);
	}

	/**
	 * Index Action
	 */
	public function indexAction()
	{
		$subcatId = $this->getParam('subcatId', 0);
		if($subcatId > 0) {
			$this->addContent($this->_view->render('filterbox/index.phtml'));
		}
	}

}